import request from '@/utils/request'

// 查询垃圾清运导入明细列表
export function listRecycleImportDetail(query) {
  return request({
    url: '/standingbook/recycleImportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询垃圾清运导入明细详细
export function getRecycleImportDetail(id) {
  return request({
    url: '/standingbook/recycleImportDetail/' + id,
    method: 'get'
  })
}

// 新增垃圾清运导入明细
export function addRecycleImportDetail(data) {
  return request({
    url: '/standingbook/recycleImportDetail',
    method: 'post',
    data: data
  })
}

// 修改垃圾清运导入明细
export function updateRecycleImportDetail(data) {
  return request({
    url: '/standingbook/recycleImportDetail',
    method: 'put',
    data: data
  })
}

// 删除垃圾清运导入明细
export function delRecycleImportDetail(id) {
  return request({
    url: '/standingbook/recycleImportDetail/' + id,
    method: 'delete'
  })
}
